import Vue from 'vue'
import Router from 'vue-router'
import Test1 from '../pages/test1/test1.vue'
import Test2 from '../pages/test1/test1.vue'
 
Vue.use(Router)
 
const router = new Router({
  mode: 'history', // 使用HTML5 History模式
  routes: [
	  { path: '/test1', name: 'Test1', component: Test1 },
	  { path: '/test2', name: 'Test2', component:  Test2 }
  ]	
})
 
export default router